package com.inspur.cloud.entity.dataspace.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "分配权限对象")
public class PowerReq {
    @ApiModelProperty(value = "资源ID名", example = "0")
    private Integer resourceId;
    @ApiModelProperty(value = "资源名，对于某些没有在数据库中的资源，需要这个字段", example = "q1:q2")
    private Integer resourceName;
    @ApiModelProperty(value = "权限字符串，逗号隔开")
    private String powerStr;
    @ApiModelProperty(value = "资源类型，1.HDFS 2.HBASE 3.HIVE 4.YARN 5.KAFKA")
    private Integer type;
    @ApiModelProperty(value = "租户列表")
    private List<String> tenantList;
}
